package com.zhanglu.fun.tookit.ddd.repository;

import com.zhanglu.fun.tookit.ddd.entity.UserInfoEntity;

/**
 * @description
 * @Auther zhanglu
 * @Date 2017/11/3 下午1:05
 */
public class UserRepository {
    public UserInfoEntity getUserByUsernameAndPassword(String username, String password) {
        System.out.println("仓储：getUserByUsernameAndPassword receive param:[username is " + username + "|password is " + password + "]");
        return new UserInfoEntity().setId(1L).setUsername("zhangliu").setPassword("123456");
    }
}
